<%--
  Created by IntelliJ IDEA.  User: Yzk20
  Date: 2025/6/24
  Time: 9:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/styless.css">
</head>
<body>

<form action="<%=pageContext.getServletContext().getContextPath()%>/bookServlet">
<table align="center" width="50%" >
    <input type="hidden" name="actionType" value="book_add">
<%--    方法切换标签--%>
    <tr>
        <td>图书名称：<input type="text" name="bookName" id="bookName"></td>
    </tr>
    <tr>
        <td>图书类型：<input type="text" name="bookType" id="bookType"></td>
    </tr>
    <tr>
        <td>作者
            <input type="text" name="author"  id="author"></td>
    </tr>
    <tr>
        <td>出版日期
            <input type="date" placeholder="请选择出版日期" name="date" id="date">

        </td>
    </tr>
    <tr>
        <td colspan="2 " onclick="">
            <input type="submit" value="提交" >
        </td>
    </tr>
</table>
</form>